package com.aw.baselib.widgets.font

import android.annotation.SuppressLint
import android.content.Context
import android.util.AttributeSet
import com.aw.baselib.R
import com.aw.baselib.base.AwBaseApplication

/**
 * @author : hzw
 * https://blog.csdn.net/yuanxw44/article/details/80019501
 */
@SuppressLint("AppCompatCustomView")
class AwTvRegular(context: Context, attrs: AttributeSet?) : AwTvRegularBase(context, attrs) {
    override fun setViewBg() {
        background = resources.getDrawable(R.drawable.bg_common_input_empty)
    }

    init {
        typeface = AwBaseApplication.instance?.typefaceRegular
    }
}